package com.gxa.pojo.zhy;

/**
 * Created with IntelliJ IDEA.
 * User: 赵贺益
 * Date: 2021/12/07 14:42
 * Description:
 * Version: V1.0
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 分页实体
 */
@ApiModel(value = "分页接收数据的实体")
public class Paging {
    @ApiModelProperty(name = "currentPage" ,notes = "当前页码 ",dataType = "Integer" ,required = true)
    private Integer currentPage=1;
    @ApiModelProperty(name = "pageSize" ,notes = "每页显示的数量",dataType = "Integer" ,required = true)
    private  Integer pageSize=10;
    @ApiModelProperty(name = "Message" ,notes = "关键字",dataType = "String" ,required = true)
    private  String Message;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String message) {
        Message = message;
    }

    public Paging(Integer currentPage, Integer pageSize, String message) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        Message = message;
    }

    public Paging() {
    }

    @Override
    public String toString() {
        return "Paging{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", Message='" + Message + '\'' +
                '}';
    }
}
